def count (str):
    pass
if not count(''):
    print('测试成功')
if count('12abAB [$')==(2,4,1,2):
    print('测试成功')
else:
    print('测试失败')